package com.tabjin.rfidsocket.mapper.mapper;

import com.tabjin.rfidsocket.pojo.SysRoleUser;
import com.tabjin.rfidsocket.mapper.my.mapper.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleUserMapper extends MyMapper<SysRoleUser> {


    /**
     * 获取角色下所有用户
     *
     * @param roleId
     * @return
     */
    List<Integer> getUserIdListByRoleId(@Param(value = "roleId") Integer roleId);
}